<?php	
	include "config/koneksi.php";
	$idp=$_POST['ID_PET'];
	$namap=$_POST['NAMA_PET'];
	$query=oci_parse($conn, "update petugas set NAMA_PET='$namap' WHERE id_pet='$idp'");
	oci_execute($query);
		echo "<script>
				window.alert('Data Sudah Diubah');
				window.location=('petugas.php')
			 </script>";

?>
